package whisper.api.gateway.frame.auth.domain;

/**
 * Created by JT on 2017/9/22.
 */
public class User {

    private int id;
    private String username;
    private String password;
    private String createTime;
    private String lastLoginTime;
    /**
     * 是否可用
     *      0：不可用
     *      1：可用
     */
    private int isAvailable;

    /**
     * 是否过期
     *      0：过期
     *      1：没过期
     */
    private int isOverdue;

    /**
     * 是否锁定
     *      0：锁定
     *      1：未锁定
     */
    private int isLock;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public int getIsAvailable() {
        return isAvailable;
    }

    public void setIsAvailable(int isAvailable) {
        this.isAvailable = isAvailable;
    }

    public int getIsOverdue() {
        return isOverdue;
    }

    public void setIsOverdue(int isOverdue) {
        this.isOverdue = isOverdue;
    }

    public int getIsLock() {
        return isLock;
    }

    public void setIsLock(int isLock) {
        this.isLock = isLock;
    }
}
